const api = {
  security: {
    captcha: '/captcha',
    login: '/login',
    userInfo: '/sys/user/info',
    logout: '/logout'
  },
  sys: {
    menu: {
      routerByUser: '/sys/menu/nav',
      list: '/sys/menu/list',
      update: '/sys/menu',
      delete: '/sys/menu'
    }
  },
  auth: {
    dept: {
      list: 'sys/dept/list',
      save: 'sys/dept'
    },
    role: {
      list: 'sys/role/list'
    }
  }
}

export default api
